package fhp.hlhj.giantfold.presenter

import com.lzy.okgo.model.HttpParams
import fhp.hlhj.giantfold.interfaces.IAnnual
import fhp.hlhj.giantfold.javaBean.EFBean
import fhp.hlhj.giantfold.module.AnnualModule

/**
 * Created by Administrator on 2018\2\5 0005.
 */
class AnnualPresenter(private val iAnnual: IAnnual) : AnnualModule.onAnnualListener {
    private val module=AnnualModule()


    fun getEf(params: HttpParams){
        module.getEf(params,this)
    }

    override fun showLoading() {
        iAnnual.showLoading()
    }

    override fun onResp(efBean: EFBean) {
        iAnnual.onResp(efBean)
    }
}